package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IContractService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author: lxr
 * @Date: 2025/08/13 16:46
 * @Description:
 */
@Component
@Slf4j
public class ContractStatusJob {
    @Autowired
    private IContractService contractService;

    public void updateStatus(){
        log.info("定时更新合同");
        contractService.updateContractStatus();

    }
}
